package com.bhdx.blog.dao;

import com.bhdx.blog.entity.Blogger;
import org.springframework.stereotype.Repository;


/**
 * @author luocheng
 * @date 2020/6/15-18:34
 */

/**
 * 博主dao接口
 */
@Repository
public interface BloggerDao {
    //通过用户名查询博主
    public Blogger getByUsername(String username);

    //获取博主信息
    public Blogger getBloggerData();

    // 更新博主个人信息
    public Integer updateBlogger(Blogger blogger);
}
